package com.ssm.passenger.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssm.common.utils.PageUtils;
import com.ssm.common.utils.Query;

import com.ssm.passenger.dao.SsmUserfeedbackDao;
import com.ssm.passenger.entity.SsmUserfeedbackEntity;
import com.ssm.passenger.service.SsmUserfeedbackService;


@Service("ssmUserfeedbackService")
public class SsmUserfeedbackServiceImpl extends ServiceImpl<SsmUserfeedbackDao, SsmUserfeedbackEntity> implements SsmUserfeedbackService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SsmUserfeedbackEntity> page = this.page(
                new Query<SsmUserfeedbackEntity>().getPage(params),
                new QueryWrapper<SsmUserfeedbackEntity>()
        );

        return new PageUtils(page);
    }

}